package run.feignClient;

import org.springframework.stereotype.Component;

/**
 * @author zhangxian
 * @program: parent
 * @description: 专用来处理降级逻辑
 * @date 2022-03-23 17:49:29
 */
@Component
public class DeptHystrixFallBackService implements DeptHystrixService {
    @Override
    public String deptInfo_Ok(String id) {
        return "--------------------xgg提醒您，系统繁忙，请稍后重试！（解耦回退方法触发）-----------------------";
    }

    @Override
    public String deptInfo_Timeout(String id) {
        return "--------------------xgg提醒您，系统繁忙，请稍后重试！（解耦回退方法触发）-----------------------";
    }
}
